projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a2fd36
)
Move inclusion of unistd.h to top, else fails on
author
Dave Love
<fx@gnu.org>
Wed, 8 Apr 1998 17:31:45 +0000
(17:31 +0000)
committer
Dave Love
<fx@gnu.org>
Wed, 8 Apr 1998 17:31:45 +0000
(17:31 +0000)
Irix6, at least.
lib-src/emacsclient.c
patch
|
blob
|
history
diff --git
a/lib-src/emacsclient.c
b/lib-src/emacsclient.c
index ae9fb36a9c997692f822dfdac138cbf7a0cce963..07d446b7aa41a608cb4f0db51b18682339734cc3 100644
(file)
--- a/
lib-src/emacsclient.c
+++ b/
lib-src/emacsclient.c
@@
-32,6
+32,9
@@
Boston, MA 02111-1307, USA. */
#ifdef STDC_HEADERS
#include <stdlib.h>
#endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
char *getenv (), *getwd ();
char *getcwd ();
@@
-182,9
+185,6
@@
main (argc, argv)
#include <sys/un.h>
#include <sys/stat.h>
#include <errno.h>
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
extern char *strerror ();
extern int errno;